package com.jj.entity;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.util.Date;

//@Getter //getter
//@Setter //setter
@AllArgsConstructor //全参构造
@NoArgsConstructor //无参构造
@Data //getter+setter+toString
public class Employee {
    //主键
    private Integer id;
    //姓名
    private String empName;
    //部门Id
    private Integer deptId;
    //职位
    private String position;
    //入职时间
    private Date onboarding;
    //手机号
    private String phone;
    //头像
    private String imgUrl;
    //部门
    private Department department;

}
